package com.cloud.api;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 描述：web容器中进行部署
 *
 * @author FineEx   2021/11/16
 * @version 1.0
 */
public class CloudServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(CloudApiApplication.class);
    }
}
